package com.lanchewuyou.user.driver.yancheui;

import android.app.Activity;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;

import com.lanchewuyou.user.driver.R;
import com.lanchewuyou.user.driver.modul.Config;

/**
 * 验车导航结束页面
 */
public class YancheNaviOverActivity extends Activity implements View.OnClickListener {

    private ImageButton yancheStopNaviBack;
    private Button yancheStopNaviNext;
    private static String DRIVERID;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_yanche_navi_over);
        SharedPreferences sharedPreferences = getSharedPreferences(Config.PASSWORD_PATH, Activity.MODE_PRIVATE);
        DRIVERID = sharedPreferences.getString("driverid", "");
        initViews();
    }

    private void initViews() {
        yancheStopNaviBack = (ImageButton) findViewById(R.id.yanche_stop_navi_back);
        yancheStopNaviBack.setOnClickListener(this);
        yancheStopNaviNext = (Button) findViewById(R.id.yanche_stop_navi_next_btn);
        yancheStopNaviNext.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.yanche_stop_navi_back:

                break;
            case R.id.yanche_stop_navi_next_btn:

                break;
            default:
                break;
        }
    }
}
